package com.authine.cloudpivot.ext.domain;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Getter
@Setter
@Table(name = "h_org_user")
public class OrgUser {
    @Id
    private String id;

    private Date createdTime;

    private String creater;

    private Boolean deleted;

    private String extend1;

    private String extend2;

    private String extend3;

    private Integer extend4;

    private Integer extend5;

    private Date modifiedTime;

    private String modifier;

    private String remarks;

    private Boolean active;

    private Boolean admin;

    private String appellation;

    private Date birthday;

    private Boolean boss;

    private String departmentId;

    private Date departureDate;

    private String dingtalkId;

    private String email;

    private String employeeNo;

    private Integer employeeRank;

    private Date entryDate;

    private String gender;

    private String identityNo;

    private String imgUrl;

    private Boolean leader;

    private String managerId;

    private String mobile;

    private String name;

    private String officePhone;

    private String password;

    private String username;

    private String privacyLevel;

    private String secretaryId;

    private Long sortKey;

    private String sourceId;

    private String status;

    private String userId;

    /**
     * 姓名拼音
     */
    private String pinYin;

    /**
     * 姓名简拼
     */
    private String shortPinYin;

    /**
     * 头像id
     */
    private String imgUrlId;

    private String corpId;

    /**
     * 职位
     */
    private String position;

    /**
     * 是否禁用
     */
    private Boolean enabled;

    private String dingUserJson;
}